{
  description = "Senkita's Darwin system flake";

  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";

    nix-darwin = {
      url = "github:LnL7/nix-darwin/master";
      inputs.nixpkgs.follows = "nixpkgs";
    };
  };

  outputs = inputs@{ self, nix-darwin, nixpkgs }:
    let
      configuration = import ./configuration.nix;
    in
    {
      # Build darwin flake using:
      # $ darwin-rebuild build --flake .#Daria
      darwinConfigurations."Daria" = nix-darwin.lib.darwinSystem {
        modules = [ configuration ];
        specialArgs = {
          inherit inputs;
        };
      };

      # Expose the package set, including overlays, for convenience.
      darwinPackages = self.darwinConfigurations."Daria".pkgs;
    };
}
